package com.sc.sysconfig.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 系统角色菜单
 *
 * @author 徐赫阳
 * @date 2021/09/02
 */
@Data
public class SysRoleMenu implements Serializable {
    private static final long serialVersionUID = 841871411442453198L;

    @ApiModelProperty(value="角色id")
    private Integer roleId;

    @ApiModelProperty(value="菜单id")
    private Integer menuId;

    /**
     * 系统角色菜单
     */
    public SysRoleMenu() {

    }

    /**
     * 系统角色菜单
     *
     * @param roleId 角色id
     * @param menuId 菜单id
     */
    public SysRoleMenu(Integer roleId, Integer menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }
}
